const API = {
  // 登陆
  login: '/api/etc/newLogin',

  // 获取小程序用户手机号
  getPhoneNumber: '/api/etc/getPhoneNumber',

  // 发送验证码
  sendCode: '/api/message/sendVerifyCode',

  //上传管理/上传阿里OSS
  apiUploadOss: '/api/upload/appOssUpload',

  //获取轮播图
  apiQueryList: '/cms/cmsContent/queryList',

  //营业执照识别
  ocrBusinessLicense: '/ocr/business',

  //创建订单
  createOrder: '/api/ue/order/createOrder',

  //查询当前用户的进行时
  apiGetState: '/api/ue/context/getState',

  //获取申办订单列表
  apiQueryOrderList: '/api/ue/order/queryOrderList',

  //获取申办订单详情
  apiGetOrderDetail: '/api/ue/order/getOrderDetail',

  //取消订单
  apiCancelOrder: '/api/ue/order/autoCancelOrder',

  //搜索地区
  apiEtcShop: '/api/etc/etcShop/query',

  /**************粤通卡接口*************/
  //申办接口
  //4.2.1用户实名认证
  apiSaveAccountInfoRequest: "/api/ue/order/saveAccountInfoRequest",

  //4.2.2车辆办理情况查询接口
  apiCheckVehicle: "/api/ue/order/checkVehicle",

  //4.2.3新增车辆信息
  apiSaveCarInfo: "/api/ue/order/saveCarInfo",

  //4.2.4产品推荐查询
  apiProductDetail: "/api/ue/order/productDetail",

  //4.2.6订单提交
  apiSubmitOrder: "/api/ue/order/submitOrder",

  //4.2.5签约渠道查询
  apiPayChannel: "/api/ue/order/payChannel",

  //4.3.1提交银行四要素并获取验证码
  apiBankSigned: "/api/ue/bank/bankSigned",

  //4.3.2校验验证码并确认签约
  apiBankVerify: "/api/ue/bank/bankVerify",

  //4.2.14.4图片上传
  apiUploadPhoto: "/api/ue/order/uploadPhoto",
  apiUploadPhotoSrc: "/api/ue/order/uploadPhotoSrc",

  //4.2.7 订单修改接口（修改申办人资料）
  apiAppletUpdateOrderUser: "/api/ue/order/appletUpdateOrderUser",

  //4.2.8 订单修改接口（修改车辆信息）
  apiUpdateVehicle: "/api/ue/order/updateVehicle",

  //4.2.12 订单状态查询接口（根据订单
  apiGetOrderPayStatus: "/api/ue/order/getOrderPayStatus",

  //4.2.12 订单状态查询接口（根据订单
  apiQueryOrderListByAppKey: "/api/ue/order/queryOrderListByAppKey",

  //卡签自提
  apiNoInsuranceOrderReview: "/api/ue/bank/noInsuranceOrderReview",

  //4.4.1 卡签激活申请
  apiActiveReqActive: "/api/ue/active/reqActive",

  //4.4.2 产品二发，激活接口
  apiActiveObeSam: "/api/ue/active/obeSam",

  //4.4.12激活结果确认接口
  apiActiveActFinish: "/api/ue/active/actFinish",

  // 4.2.15检测车辆ETC类型
  orderGetVinInfo: "/api/ue/order/getVinInfo",

  // 
  bankSigning: "/api/ue/bank/bankSigning",

  OrderByLocationTotal: "/api/etc/etcUserActivity/OrderByLocationTotal",

  getBankUrl: "/api/ue/order/getBankUrl"
}

export default {
  // baseUrl: 'https://dev.ghac.yxytcar.cn/v1', //测试环境
  // baseUrl2: 'https://dev.ghac.yxytcar.cn', //测试环境
  // baseUrl: 'http://192.168.1.83:8085/v1', //本地环境 
  // baseUrl2: 'http://192.168.1.83:8085', //本地环境、
  baseUrl: 'https://api.ghac.yxytcar.cn/v1', //正式环境、
  baseUrl2: 'https://api.ghac.yxytcar.cn', //正式环境、
  // 默认导出API
  api: API
}